package com.tensquare.qa.client;

import entity.Result;
import entity.StatusCode;
import org.springframework.stereotype.Component;

/**
 * @Author:zimmor
 * @Date: 2021/3/16 17:03
 * @Description base微服务的熔断器
 * @version: 1.0.0
 */
@Component
public class LabelHystrix implements LabelClient{

    @Override
    public Result findLabelById(String id) {
        return new Result(true, StatusCode.REMOTEERROR, "熔断器启动");
    }
}
